package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处方信息对象 sys_prescriptionlist
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class SysPrescriptionlist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long prescriptionId;

    /** 就诊单号 */
    @Excel(name = "就诊单号")
    private Long pVisitId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品数量 */
    @Excel(name = "药品数量")
    private Long drugCount;

    /** 金额 */
    @Excel(name = "金额")
    private Long drugPrice;

    /** 处方状态 */
    @Excel(name = "处方状态")
    private String drugStatus;

    /** 其他备注 */
    @Excel(name = "其他备注")
    private String checkNotes;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setpVisitId(Long pVisitId) 
    {
        this.pVisitId = pVisitId;
    }

    public Long getpVisitId() 
    {
        return pVisitId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setDrugCount(Long drugCount) 
    {
        this.drugCount = drugCount;
    }

    public Long getDrugCount() 
    {
        return drugCount;
    }
    public void setDrugPrice(Long drugPrice) 
    {
        this.drugPrice = drugPrice;
    }

    public Long getDrugPrice() 
    {
        return drugPrice;
    }
    public void setDrugStatus(String drugStatus) 
    {
        this.drugStatus = drugStatus;
    }

    public String getDrugStatus() 
    {
        return drugStatus;
    }
    public void setCheckNotes(String checkNotes) 
    {
        this.checkNotes = checkNotes;
    }

    public String getCheckNotes() 
    {
        return checkNotes;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prescriptionId", getPrescriptionId())
            .append("pVisitId", getpVisitId())
            .append("drugName", getDrugName())
            .append("drugCount", getDrugCount())
            .append("drugPrice", getDrugPrice())
            .append("drugStatus", getDrugStatus())
            .append("checkNotes", getCheckNotes())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
